<!-- 唐礼飞 2020-05-28 08:33:32.565 -->
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<%@include file="../../../include/meta.jsp"%>
<title>404错误</title>
<%@include file="../../../include/css.jsp"%>
<style type="text/css">
html, body {
	width: 100%;
	height: 100%;
	padding: 0;
}

body {
	background-color: #0000CD;
	display: flex;
	justify-content: center;
	align-items: center;
}

.error-container {
	text-align: center;
	color: #FFF;
}

h1 {
	font-size: 128px;
}

#time {
	color: red;
}
</style>
</head>
<body>
	<div class="error-container">
		<h1>401</h1>
		<h2>你没有访问权限！</h2>
		<h2>
			系统将在&nbsp;<span id="time">10</span>&nbsp;秒后自动跳转到${pageName}！
		</h2>
		<br /> <a class="btn btn-outline-light"
			href="${pageContext.request.contextPath}/${page}"><i
			class="fas fa-reply"></i>&nbsp;返回${pageName}</a>
	</div>
	<%@include file="../../../include/js.jsp"%>
	<script type="text/javascript">
		var time = 10;
		setInterval(
				function() {
					time--;
					$("#time").text(time);
					if (time === 0) {
						window.location.href = "${pageContext.request.contextPath}/${page}";
					}
				}, 1000);
	</script>
</body>
</html>